.class Lrexsee/service/RexseeReliableSubmit$3;
.super Ljava/lang/Thread;
.source "RexseeReliableSubmit.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lrexsee/service/RexseeReliableSubmit;->triesToSubmit(Ljava/lang/String;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lrexsee/service/RexseeReliableSubmit;

.field private final synthetic val$sql:Ljava/lang/String;


# direct methods
.method constructor <init>(Lrexsee/service/RexseeReliableSubmit;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lrexsee/service/RexseeReliableSubmit$3;->this$0:Lrexsee/service/RexseeReliableSubmit;

    iput-object p2, p0, Lrexsee/service/RexseeReliableSubmit$3;->val$sql:Ljava/lang/String;

    .line 478
    invoke-direct {p0}, Ljava/lang/Thread;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 13

    .prologue
    const-string v0, "\';"

    .line 481
    iget-object v0, p0, Lrexsee/service/RexseeReliableSubmit$3;->this$0:Lrexsee/service/RexseeReliableSubmit;

    # getter for: Lrexsee/service/RexseeReliableSubmit;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v0}, Lrexsee/service/RexseeReliableSubmit;->access$3(Lrexsee/service/RexseeReliableSubmit;)Lrexsee/core/browser/Browser;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lrexsee/service/RexseeReliableSubmit$3;->this$0:Lrexsee/service/RexseeReliableSubmit;

    # getter for: Lrexsee/service/RexseeReliableSubmit;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v0}, Lrexsee/service/RexseeReliableSubmit;->access$3(Lrexsee/service/RexseeReliableSubmit;)Lrexsee/core/browser/Browser;

    move-result-object v0

    iget-object v0, v0, Lrexsee/core/browser/Browser;->progressDialog:Lrexsee/core/progress/RexseeProgressDialog;

    sget-object v1, Lrexsee/core/lang/RexseeLanguage;->PROGRESS_ONGOING:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lrexsee/core/progress/RexseeProgressDialog;->show(Ljava/lang/String;)V

    .line 483
    :cond_0
    :try_start_0
    iget-object v0, p0, Lrexsee/service/RexseeReliableSubmit$3;->this$0:Lrexsee/service/RexseeReliableSubmit;

    # getter for: Lrexsee/service/RexseeReliableSubmit;->mContext:Landroid/content/Context;
    invoke-static {v0}, Lrexsee/service/RexseeReliableSubmit;->access$0(Lrexsee/service/RexseeReliableSubmit;)Landroid/content/Context;

    move-result-object v0

    const-string v1, "reliableSubmit.db"

    const/4 v2, 0x0

    const/4 v3, 0x0

    invoke-virtual {v0, v1, v2, v3}, Landroid/content/Context;->openOrCreateDatabase(Ljava/lang/String;ILandroid/database/sqlite/SQLiteDatabase$CursorFactory;)Landroid/database/sqlite/SQLiteDatabase;

    move-result-object v7

    .line 484
    .local v7, "db":Landroid/database/sqlite/SQLiteDatabase;
    iget-object v0, p0, Lrexsee/service/RexseeReliableSubmit$3;->val$sql:Ljava/lang/String;

    const/4 v1, 0x0

    invoke-virtual {v7, v0, v1}, Landroid/database/sqlite/SQLiteDatabase;->rawQuery(Ljava/lang/String;[Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v6

    .line 485
    .local v6, "cursor":Landroid/database/Cursor;
    if-nez v6, :cond_2

    .line 486
    invoke-virtual {v7}, Landroid/database/sqlite/SQLiteDatabase;->close()V

    .line 526
    .end local v6    # "cursor":Landroid/database/Cursor;
    .end local v7    # "db":Landroid/database/sqlite/SQLiteDatabase;
    :cond_1
    :goto_0
    return-void

    .line 489
    .restart local v6    # "cursor":Landroid/database/Cursor;
    .restart local v7    # "db":Landroid/database/sqlite/SQLiteDatabase;
    :cond_2
    const/4 v9, 0x0

    .local v9, "i":I
    :goto_1
    invoke-interface {v6}, Landroid/database/Cursor;->getCount()I
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result v0

    if-lt v9, v0, :cond_4

    .line 514
    :try_start_1
    invoke-interface {v6}, Landroid/database/Cursor;->close()V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1

    .line 518
    :goto_2
    :try_start_2
    invoke-virtual {v7}, Landroid/database/sqlite/SQLiteDatabase;->close()V
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_0

    .line 522
    .end local v6    # "cursor":Landroid/database/Cursor;
    .end local v7    # "db":Landroid/database/sqlite/SQLiteDatabase;
    .end local v9    # "i":I
    :cond_3
    :goto_3
    iget-object v0, p0, Lrexsee/service/RexseeReliableSubmit$3;->this$0:Lrexsee/service/RexseeReliableSubmit;

    # getter for: Lrexsee/service/RexseeReliableSubmit;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v0}, Lrexsee/service/RexseeReliableSubmit;->access$3(Lrexsee/service/RexseeReliableSubmit;)Lrexsee/core/browser/Browser;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 523
    iget-object v0, p0, Lrexsee/service/RexseeReliableSubmit$3;->this$0:Lrexsee/service/RexseeReliableSubmit;

    # getter for: Lrexsee/service/RexseeReliableSubmit;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v0}, Lrexsee/service/RexseeReliableSubmit;->access$3(Lrexsee/service/RexseeReliableSubmit;)Lrexsee/core/browser/Browser;

    move-result-object v0

    iget-object v0, v0, Lrexsee/core/browser/Browser;->progressDialog:Lrexsee/core/progress/RexseeProgressDialog;

    invoke-virtual {v0}, Lrexsee/core/progress/RexseeProgressDialog;->hide()V

    .line 524
    iget-object v0, p0, Lrexsee/service/RexseeReliableSubmit$3;->this$0:Lrexsee/service/RexseeReliableSubmit;

    # getter for: Lrexsee/service/RexseeReliableSubmit;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v0}, Lrexsee/service/RexseeReliableSubmit;->access$3(Lrexsee/service/RexseeReliableSubmit;)Lrexsee/core/browser/Browser;

    move-result-object v0

    iget-object v0, v0, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    sget-object v1, Lrexsee/core/lang/RexseeLanguage;->PROGRESS_REFRESH_FINISH:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lrexsee/core/application/RexseeApplication;->alert(Ljava/lang/String;)V

    goto :goto_0

    .line 490
    .restart local v6    # "cursor":Landroid/database/Cursor;
    .restart local v7    # "db":Landroid/database/sqlite/SQLiteDatabase;
    .restart local v9    # "i":I
    :cond_4
    :try_start_3
    invoke-interface {v6, v9}, Landroid/database/Cursor;->moveToPosition(I)Z

    .line 491
    const/16 v0, 0xa

    invoke-interface {v6, v0}, Landroid/database/Cursor;->getInt(I)I

    move-result v0

    if-nez v0, :cond_5

    .line 492
    const/4 v0, 0x0

    invoke-interface {v6, v0}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v10

    .line 493
    .local v10, "key":Ljava/lang/String;
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    const/4 v2, 0x6

    invoke-interface {v6, v2}, Landroid/database/Cursor;->getLong(I)J

    move-result-wide v2

    cmp-long v0, v0, v2

    if-lez v0, :cond_6

    .line 494
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "UPDATE message SET status="

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const/4 v1, 0x2

    invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "  WHERE key=\'"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "\';"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v7, v0}, Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V

    .line 495
    new-instance v0, Lrexsee/core/alarm/RexseeAlarm;

    iget-object v1, p0, Lrexsee/service/RexseeReliableSubmit$3;->this$0:Lrexsee/service/RexseeReliableSubmit;

    # getter for: Lrexsee/service/RexseeReliableSubmit;->mContext:Landroid/content/Context;
    invoke-static {v1}, Lrexsee/service/RexseeReliableSubmit;->access$0(Lrexsee/service/RexseeReliableSubmit;)Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1}, Lrexsee/core/alarm/RexseeAlarm;-><init>(Landroid/content/Context;)V

    const/4 v1, 0x7

    invoke-interface {v6, v1}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lrexsee/core/alarm/RexseeAlarm;->set(Ljava/lang/String;)V

    .line 489
    .end local v10    # "key":Ljava/lang/String;
    :cond_5
    :goto_4
    add-int/lit8 v9, v9, 0x1

    goto/16 :goto_1

    .line 497
    .restart local v10    # "key":Ljava/lang/String;
    :cond_6
    const/16 v0, 0x8

    invoke-interface {v6, v0}, Landroid/database/Cursor;->getInt(I)I

    move-result v0

    add-int/lit8 v12, v0, 0x1

    .line 498
    .local v12, "tries":I
    iget-object v0, p0, Lrexsee/service/RexseeReliableSubmit$3;->this$0:Lrexsee/service/RexseeReliableSubmit;

    const/4 v1, 0x0

    invoke-interface {v6, v1}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x2

    invoke-interface {v6, v2}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v2

    const/4 v3, 0x4

    invoke-interface {v6, v3}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v3

    iget-object v4, p0, Lrexsee/service/RexseeReliableSubmit$3;->this$0:Lrexsee/service/RexseeReliableSubmit;

    invoke-virtual {v4}, Lrexsee/service/RexseeReliableSubmit;->getTimeout()I

    move-result v4

    mul-int/lit16 v4, v4, 0x3e8

    const/4 v5, 0x3

    invoke-interface {v6, v5}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v5

    # invokes: Lrexsee/service/RexseeReliableSubmit;->triesToSubmit(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;)Ljava/lang/String;
    invoke-static/range {v0 .. v5}, Lrexsee/service/RexseeReliableSubmit;->access$4(Lrexsee/service/RexseeReliableSubmit;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;)Ljava/lang/String;

    move-result-object v11

    .line 499
    .local v11, "response":Ljava/lang/String;
    if-eqz v11, :cond_8

    const-string v0, ""

    invoke-virtual {v11, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_8

    .line 500
    const-string v0, "File error:"

    invoke-virtual {v11, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_7

    .line 501
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "UPDATE message SET status="

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const/4 v1, 0x2

    invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ", response=\'"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-static {v11}, Lrexsee/core/utilities/Escape;->escape(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "\'  WHERE key=\'"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "\';"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v7, v0}, Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V

    .line 502
    new-instance v0, Lrexsee/core/alarm/RexseeAlarm;

    iget-object v1, p0, Lrexsee/service/RexseeReliableSubmit$3;->this$0:Lrexsee/service/RexseeReliableSubmit;

    # getter for: Lrexsee/service/RexseeReliableSubmit;->mContext:Landroid/content/Context;
    invoke-static {v1}, Lrexsee/service/RexseeReliableSubmit;->access$0(Lrexsee/service/RexseeReliableSubmit;)Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1}, Lrexsee/core/alarm/RexseeAlarm;-><init>(Landroid/content/Context;)V

    const/4 v1, 0x7

    invoke-interface {v6, v1}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lrexsee/core/alarm/RexseeAlarm;->set(Ljava/lang/String;)V
    :try_end_3
    .catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_0

    goto/16 :goto_4

    .line 519
    .end local v6    # "cursor":Landroid/database/Cursor;
    .end local v7    # "db":Landroid/database/sqlite/SQLiteDatabase;
    .end local v9    # "i":I
    .end local v10    # "key":Ljava/lang/String;
    .end local v11    # "response":Ljava/lang/String;
    .end local v12    # "tries":I
    :catch_0
    move-exception v0

    move-object v8, v0

    .line 520
    .local v8, "e":Ljava/lang/Exception;
    iget-object v0, p0, Lrexsee/service/RexseeReliableSubmit$3;->this$0:Lrexsee/service/RexseeReliableSubmit;

    # getter for: Lrexsee/service/RexseeReliableSubmit;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v0}, Lrexsee/service/RexseeReliableSubmit;->access$3(Lrexsee/service/RexseeReliableSubmit;)Lrexsee/core/browser/Browser;

    move-result-object v0

    if-eqz v0, :cond_3

    iget-object v0, p0, Lrexsee/service/RexseeReliableSubmit$3;->this$0:Lrexsee/service/RexseeReliableSubmit;

    # getter for: Lrexsee/service/RexseeReliableSubmit;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v0}, Lrexsee/service/RexseeReliableSubmit;->access$3(Lrexsee/service/RexseeReliableSubmit;)Lrexsee/core/browser/Browser;

    move-result-object v0

    iget-object v1, p0, Lrexsee/service/RexseeReliableSubmit$3;->this$0:Lrexsee/service/RexseeReliableSubmit;

    invoke-virtual {v1}, Lrexsee/service/RexseeReliableSubmit;->getInterfaceName()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1, v8}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/Exception;)V

    goto/16 :goto_3

    .line 504
    .end local v8    # "e":Ljava/lang/Exception;
    .restart local v6    # "cursor":Landroid/database/Cursor;
    .restart local v7    # "db":Landroid/database/sqlite/SQLiteDatabase;
    .restart local v9    # "i":I
    .restart local v10    # "key":Ljava/lang/String;
    .restart local v11    # "response":Ljava/lang/String;
    .restart local v12    # "tries":I
    :cond_7
    :try_start_4
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "UPDATE message SET tries="

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-static {v12}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ", lastTry="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v1

    invoke-static {v1, v2}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ", status="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const/4 v1, 0x1

    invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ", response=\'"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-static {v11}, Lrexsee/core/utilities/Escape;->escape(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "\'  WHERE key=\'"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "\';"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v7, v0}, Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V

    .line 505
    new-instance v0, Lrexsee/core/alarm/RexseeAlarm;

    iget-object v1, p0, Lrexsee/service/RexseeReliableSubmit$3;->this$0:Lrexsee/service/RexseeReliableSubmit;

    # getter for: Lrexsee/service/RexseeReliableSubmit;->mContext:Landroid/content/Context;
    invoke-static {v1}, Lrexsee/service/RexseeReliableSubmit;->access$0(Lrexsee/service/RexseeReliableSubmit;)Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1}, Lrexsee/core/alarm/RexseeAlarm;-><init>(Landroid/content/Context;)V

    invoke-virtual {v0, v11}, Lrexsee/core/alarm/RexseeAlarm;->set(Ljava/lang/String;)V

    goto/16 :goto_4

    .line 508
    :cond_8
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "UPDATE message SET tries="

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-static {v12}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ", lastTry="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v1

    invoke-static {v1, v2}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, " WHERE key=\'"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "\';"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v7, v0}, Landroid/database/sqlite/SQLiteDatabase;->execSQL(Ljava/lang/String;)V
    :try_end_4
    .catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_0

    goto/16 :goto_4

    .line 515
    .end local v10    # "key":Ljava/lang/String;
    .end local v11    # "response":Ljava/lang/String;
    .end local v12    # "tries":I
    :catch_1
    move-exception v0

    goto/16 :goto_2
.end method
